package proyecto.testcasetool.provider.main;

import org.eclipse.emf.common.notify.Adapter;

import proyecto.testcasetool.provider.TestcasetoolItemProviderAdapterFactory;

public class TestcasetoolItemProviderAdapterFactoryMain extends
		TestcasetoolItemProviderAdapterFactory {

	public TestcasetoolItemProviderAdapterFactoryMain(){
		super();
	}
	
	@Override
	public Adapter createUseCaseAdapter() {
		if (useCaseItemProvider == null) {
			useCaseItemProvider = new UseCaseItemProviderWithoutChildren(this);
		}

		return useCaseItemProvider;
	}
	
	@Override
	public Adapter createActorAdapter() {
		if (actorItemProvider == null) {
			actorItemProvider = new ActorItemProviderWithoutChildren(this);
		}

		return actorItemProvider;
	}

	@Override
	public Adapter createUseCaseModelAdapter() {
		if (useCaseModelItemProvider == null){
			useCaseModelItemProvider = new UseCaseModelItemProviderMain(this);
		}
		return useCaseModelItemProvider;
	}
	
	
}
